﻿<UserControl x:Class="AutoLoL.Tabs.SettingsTab"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="540" d:DesignWidth="700">
    <DockPanel LastChildFill="True">
        <StackPanel Margin="10" Orientation="Horizontal" DockPanel.Dock="Top">
            <Button Name="EditButton" Width="75" Height="23" Click="EditButton_Click" HorizontalAlignment="Left" HorizontalContentAlignment="Left">
                <Button.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Height="16" Width="16" Source="pack://siteoforigin:,,,/Data/Images/Icons/document--pencil.png" />
                        <TextBlock Margin="5 0 0 0" Text="Edit" />
                    </StackPanel>
                </Button.Content>
            </Button>
            <Button Name="SaveButton" Width="75" Height="23" Click="SaveButton_Click" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Visibility="Collapsed">
                <Button.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Height="16" Width="16" Source="pack://siteoforigin:,,,/Data/Images/Icons/disk.png" />
                        <TextBlock Margin="5 0 0 0" Text="Save" />
                    </StackPanel>
                </Button.Content>
            </Button>
            <Button Name="CancelButton" Width="75" Height="23"  Margin="10 0 0 0" Click="CancelButton_Click" HorizontalAlignment="Left" HorizontalContentAlignment="Left"  Visibility="Collapsed">
                <Button.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Height="16" Width="16" Source="pack://siteoforigin:,,,/Data/Images/Icons/cross.png" />
                        <TextBlock Margin="5 0 0 0" Text="Cancel" />
                    </StackPanel>
                </Button.Content>
            </Button>
        </StackPanel>
        <Grid Margin="10 0 10 10" DockPanel.Dock="Top">
            <Grid.RowDefinitions>
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
                <RowDefinition Height="25" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="135"/>
                <ColumnDefinition Width="180"/>
                <ColumnDefinition Width="35" />
                <ColumnDefinition Width="135"/>
                <ColumnDefinition Width="180"/>
            </Grid.ColumnDefinitions>

            <TextBlock FontWeight="Bold" Text="League of Legends" VerticalAlignment="Center" />
            <TextBlock Text="Installation Directory" VerticalAlignment="Center" Grid.Row="1" />
            <TextBlock Text="Autorun" VerticalAlignment="Center" Grid.Row="2" />

            <TextBox Name="LolDirectoryTextBox" IsReadOnly="True" Width="180" Grid.Column="1" Grid.Row="1" />
            <CheckBox Name="AutorunCheckBox" Margin="0 2 0 0" VerticalAlignment="Center" Grid.Row="2" Grid.Column="1" />

            <TextBlock FontWeight="Bold" Text="Auto Login" Grid.Column="3" VerticalAlignment="Center" />
            <TextBlock Text="Username" VerticalAlignment="Center" Grid.Row="1" Grid.Column="3" />
            <TextBlock Text="Password" VerticalAlignment="Center" Grid.Row="2" Grid.Column="3" />
            <TextBlock Text="Enable automatically" VerticalAlignment="Center" Grid.Row="3" Grid.Column="3" />

            <TextBox Name="LolUsernameTextBox" Margin="0 2 0 0" Width="180" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="4" />
            <PasswordBox Name="LolPasswordTextBox" Margin="0 2 0 0" Width="180" HorizontalAlignment="Left" Grid.Row="2" Grid.Column="4" />
            <CheckBox Name="AutoLoginCheckBox" Margin="0 2 0 0" VerticalAlignment="Center" Grid.Row="3" Grid.Column="4" />

            <TextBlock FontWeight="Bold" Text="Mastery Clicker" VerticalAlignment="Center" Grid.Row="4" Grid.Column="0" />
            <TextBlock Text="Manual Return" VerticalAlignment="Center" Grid.Row="5" Grid.Column="0" />

            <CheckBox Name="ManualReturnCheckBox" Margin="0 2 0 0" VerticalAlignment="Center" Grid.Row="5" Grid.Column="1" />

            <TextBlock FontWeight="Bold" Text="Auto Chat" VerticalAlignment="Center" Grid.Row="7" Grid.Column="0" />
            <TextBlock Text="Enabled" VerticalAlignment="Center" Grid.Row="8" Grid.Column="0" />
            <TextBlock Text="Modifier Key" VerticalAlignment="Center" Grid.Row="9" Grid.Column="0" />
            <TextBlock Text="Keys" VerticalAlignment="Center" Grid.Row="10" Grid.Column="0" />

            <CheckBox Name="AutoChatCheckBox" Margin="0 2 0 0" VerticalAlignment="Center" Grid.Row="8" Grid.Column="1" />
            <ComboBox Name="ModifierKeyComboBox" Width="180" Margin="0 2 0 0" HorizontalAlignment="Left" Grid.Row="9" Grid.Column="1" />
            <ComboBox Name="KeysComboBox" Width="180" Margin="0 2 0 0" HorizontalAlignment="Left" Grid.Row="10" Grid.Column="1" />

            <TextBlock FontWeight="Bold" Text="Misc" VerticalAlignment="Center" Grid.Row="5" Grid.Column="3" />
            <TextBlock Text="Minimize to Tray" VerticalAlignment="Center" Grid.Row="6" Grid.Column="3" />
            <TextBlock Text="Import old Masteries" VerticalAlignment="Center" Grid.Row="7" Grid.Column="3" />
            
            <CheckBox Content="(Not yet available)" IsEnabled="False" Name="MinimizeToTrayCheckBox" Margin="0 2 0 0" VerticalAlignment="Center" Grid.Row="6" Grid.Column="4" />
            <Button Name="ImportButton" Width="75" Height="23" HorizontalAlignment="Left" HorizontalContentAlignment="Left" Grid.Row="7" Grid.Column="4" Click="ImportButton_Click">
                <Button.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Height="16" Width="16" Source="pack://siteoforigin:,,,/Data/Images/Icons/document-import.png" />
                        <TextBlock Margin="5 0 0 0" Text="Import" />
                    </StackPanel>
                </Button.Content>
            </Button>
        </Grid>
    </DockPanel>
</UserControl>
